package com.angel.dao.health;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.angel.core.base.BaseMapper;
import com.angel.health.BuzAssessment;
import com.angel.health.BuzAssessmentExample;
import com.angel.health.ln.ChartMap;

public interface BuzAssessmentMapper extends BaseMapper<BuzAssessment>{
    int countByExample(BuzAssessmentExample example);

    int deleteByExample(BuzAssessmentExample example);

    int deleteByPrimaryKey(Integer id);

    int insertSelective(BuzAssessment record);

    List<BuzAssessment> selectByExample(BuzAssessmentExample example);

    int updateByExampleSelective(@Param("record") BuzAssessment record, @Param("example") BuzAssessmentExample example);

    int updateByExample(@Param("record") BuzAssessment record, @Param("example") BuzAssessmentExample example);

    int updateByPrimaryKey(BuzAssessment record);
    
    int delAll(@Param("ids") String ids);
    
    List<Map<String,Object>> findAssessmentAll(BuzAssessment record);
    
    int updateByCustomerId(BuzAssessment record);
    
    List<ChartMap> loadChart();
    
    List<Map<String,Object>> findAllForPage(BuzAssessment record);
}